github.com/gotd/td/telegram.Client.log (field)

67 uses

	github.com/gotd/td/telegram (current package)
		account_status.go#L125: 		c.log.Warn(ctx, "Server asked to drop the auth key",
		account_status.go#L135: 		c.log.Info(ctx, "Service notification",
		account_status.go#L141: 	c.log.Debug(ctx, "Service notification", log.String("type", u.Type))
		account_status.go#L235: 		c.log.Error(ctx, "Phone number is banned by Telegram. "+
		account_status.go#L242: 	c.log.Debug(ctx, "Request refused: account is frozen",
		account_status.go#L269: 			c.log.Warn(ctx, "Failed to check freeze state", log.Error(err))
		account_status.go#L274: 		c.log.Warn(ctx, "Frozen error, but app config has no freeze state",
		account_status.go#L279: 	c.log.Warn(ctx, "Account is frozen",
		auth_lost.go#L258: 		c.log.Error(bg, "Authorization lost: the account is banned by Telegram. "+
		auth_lost.go#L262: 		c.log.Error(bg, "Authorization lost: the account is deleted", fields...)
		auth_lost.go#L264: 		c.log.Warn(bg, "Authorization lost", fields...)
		cdn_conn_dead.go#L17: 		c.log.Warn(context.Background(), "Resetting cached CDN keys after fingerprint miss",
		cdn_conn_dead.go#L46: 	c.log.Warn(context.Background(), "Dropping stored CDN session key after PFS key reset request",
		cfg.go#L38: 		c.log.Warn(ctx, "Got error on config update", log.Error(err))
		client.go#L193: 	log   log.Helper  // immutable
		client.go#L251: 		log:                log.For(opt.Logger),
		client.go#L292: 		client.log.Warn(context.Background(), "Create metrics, metrics are disabled", log.Error(err))
		client.go#L301: 		client.log = client.log.With(log.String("v", v))
		conn_builder.go#L125: 	opts.Logger = c.log.Named("conn").With(
		connect.go#L62: 					c.log.Warn(ctx, "Got error on self", log.Error(err))
		connect.go#L89: 			c.log.Info(ctx, "Got self", log.String("username", self.Username))
		connect.go#L99: 			c.log.Debug(ctx, "Restart triggered")
		connect.go#L160: 				c.log.Error(ctx, "Server rejected connection setup, check app ID and device config, "+
		connect.go#L167: 				c.log.Warn(ctx, "Permanent connection error, will not reconnect", log.Error(err))
		connect.go#L176: 		c.log.Info(context.Background(), "Restarting connection",
		connect.go#L189: 		c.log.Debug(context.Background(), "Primary connection replaced after restart")
		connect.go#L194: 	c.log.Debug(context.Background(), "Ready")
		connect.go#L248: 	c.log.Info(ctx, "Starting")
		connect.go#L249: 	defer c.log.Info(context.Background(), "Closed")
		connect.go#L337: 			c.log.Debug(ctx, "Callback returned, stopping")
		connection_state.go#L97: 	c.log.Debug(ctx, "Connection state",
		connection_state.go#L119: 		c.log.Warn(ctx, "Connection dead", fields...)
		connection_state.go#L121: 		c.log.Debug(ctx, "Connection dead", fields...)
		file_dc.go#L76: 		f.client.log.Debug(ctx, "Following FILE_MIGRATE",
		handle_updates.go#L46: 		c.log.Warn(c.ctx, "Ignoring update", log.String("update_type", fmt.Sprintf("%T", u)))
		invoke.go#L83: 			logger := c.log.With(
		invoke.go#L150: 				c.log.Warn(ctx, "No response in time after resend",
		invoke.go#L161: 			c.log.Warn(ctx, "No response in time, reconnecting to resend request",
		invoke.go#L179: 		c.log.Debug(ctx, "Primary connection is dead, waiting for new connection to retry",
		invoke.go#L190: 			c.log.Debug(ctx, "Primary connection replaced, retrying request", log.Int("attempt", attempt))
		logout.go#L88: 					c.log.Debug(ctx, "Guest DC log out failed", log.Int("dc_id", dc), log.Error(err))
		logout.go#L93: 				c.log.Debug(ctx, "Close guest DC pool", log.Int("dc_id", dc), log.Error(err))
		metrics.go#L220: 		c.log.Warn(context.Background(), "Register pools gauge", log.Error(err))
		migrate_to_dc.go#L18: 	c.log.Debug(ctx, "Triggering restart", log.String("reason", reason))
		migrate_to_dc.go#L27: 		c.log.Debug(ctx, "Restart initialized")
		migrate_to_dc.go#L34: 		c.log.Info(ctx, "Restart ensured")
		migrate_to_dc.go#L69: 	c.log.Info(ctx, "Migrating primary connection",
		pfs.go#L21: 	c.log.Warn(context.Background(), "Dropping stored primary session key after PFS key reset request",
		pfs.go#L51: 	c.log.Warn(context.Background(), "Dropping stored DC session key after PFS key reset request",
		pool.go#L34: 		Logger:             c.log.Named("pool").With(log.Int("dc_id", dc)).Logger(),
		pool.go#L95: 		c.log.Debug(ctx, "Creating pool on primary session",
		pool.go#L104: 		c.log.Debug(ctx, "Creating pool",
		pool.go#L178: 		options.Logger = c.log.Named("conn").With(
		pool.go#L217: 		c.log.Debug(ctx, "DC key is authorized, skipping transfer", log.Int("dc_id", dcID))
		session.go#L48: 	c.log.Info(ctx, "Connection restored from state",
		session.go#L87: 			c.log.Warn(ctx, "Skipping corrupted stored DC key", log.Int("dc_id", dc))
		session.go#L215: 		c.log.Warn(ctx, "Failed to save DC keys", log.Int("dc_id", dc), log.Error(err))
		session.go#L248: 	c.log.Info(ctx, "New server session on primary connection, recovering updates")
		session.go#L251: 			c.log.Debug(ctx, "Update handler failed on updatesTooLong", log.Error(err))
		session.go#L279: 		c.log.Warn(ctx, "Failed to save self ID", log.Error(err))
		session.go#L333: 	c.log.Debug(c.ctx, "Data saved",
		session.go#L345: 		c.log.Debug(context.Background(), "Ignoring session with dropped auth key",
		sub_conns.go#L105: 			c.log.Warn(ctx, "Unauthorized on cached pool, recreating it",
		sub_conns.go#L221: 		logFailure := c.log.Warn
		sub_conns.go#L223: 			logFailure = c.log.Debug
		sub_conns.go#L234: 	c.log.Debug(ctx, "Pool created",